package com.sy.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author easonsy
 * @Description
 * @createTime 2022/06/24 14:18:00
 */
@Data
public class SubjectDto {
   private Integer subjectId;
   private Integer coachId;
   private String coachName;
    /**课时数例如20节 30节*/
   private Integer duration;
    /**学员人数*/
   private Integer number;
   private String subjectName;
   private String subjectPrice;
   @JsonFormat(pattern="yyyy-MM-dd")
   private Date startDate;
   @JsonFormat(pattern="yyyy-MM-dd")
   private Date endDate;
   String subjectPhoto;
   private List<SubjectDto> subjectList;
   private Long subjectTotal;
   private String pageSize;
   private String pageNum;
   private String searchName;
}
